package com.chefu.evaluation.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

@Data
@Document("service_provider_info")
@ApiModel(value = "ServiceProviderInfo对象", description="")
public class ServiceProviderInfo implements Serializable {
    @Id
    @ApiModelProperty(value = "主键")
    private String id;
    //服务商id
    @ApiModelProperty(value = "服务商id")
    private String providerId;
    //服务商名字
    @ApiModelProperty(value = "服务商名字")
    private String providerName;
    //服务商类型
    @ApiModelProperty(value = "服务商类型")
    private String providerType;
    //服务商照片
    @ApiModelProperty(value = "服务商照片")
    private String providerImage;
    //服务商地址
    @ApiModelProperty(value = "服务商地址")
    private String providerAddress;
    //服务商评论得分
    @ApiModelProperty(value = "服务商评论得分")
    private Double score;
    //服务商相关评论条数
    @ApiModelProperty(value = "服务商相关评论数")
    private String contentNum;
}
